package com.csi.okr.mobile.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 与OKR评分明细_KR（关键结果）表(T_OKR_SCORE_DETAIL_KEYRESULTS)对应的实体类
 * 
 */
@Entity
@Table(name = "T_OKR_SCORE_DETAIL_KEYRESULTS", schema = "PSGIS")
public class TOkrScoreDetailKeyresults implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String scoreDetailKrUuid;
	private String scoreDetailOUuid;
	private String OScoreUuid;
	/**
	 * O唯一标识码
	 */
	private String OUniqueIdCode;
	/**
	 * KR唯一标识码
	 */
	private String krUniqueIdCode;
	/**
	 * KR码
	 */
	private String krCode;
	/**
	 * kR定义
	 */
	private String krDefinition;
	/**
	 * 行动计划
	 */
	private String actionPlan;
	/**
	 * KR的评分[自评]
	 */
	private Integer krScoreOneself;
	/**
	 * KR的评分[上级评]
	 */
	private Integer krScoreSuperior;
	/**
	 * KR的评分说明[自评]
	 */
	private String krScoreExplainOneself;
	/**
	 * KR的评分说明[上级评]
	 */
	private String krScoreExplainSuperior;

	public TOkrScoreDetailKeyresults() {
	}

	public TOkrScoreDetailKeyresults(String scoreDetailKrUuid) {
		this.scoreDetailKrUuid = scoreDetailKrUuid;
	}

	public TOkrScoreDetailKeyresults(String scoreDetailKrUuid, String scoreDetailOUuid, String OScoreUuid,
			String OUniqueIdCode, String krUniqueIdCode, String krCode, String krDefinition, String actionPlan,
			Integer krScoreOneself, Integer krScoreSuperior, String krScoreExplainOneself,
			String krScoreExplainSuperior) {
		this.scoreDetailKrUuid = scoreDetailKrUuid;
		this.scoreDetailOUuid = scoreDetailOUuid;
		this.OScoreUuid = OScoreUuid;
		this.OUniqueIdCode = OUniqueIdCode;
		this.krUniqueIdCode = krUniqueIdCode;
		this.krCode = krCode;
		this.krDefinition = krDefinition;
		this.actionPlan = actionPlan;
		this.krScoreOneself = krScoreOneself;
		this.krScoreSuperior = krScoreSuperior;
		this.krScoreExplainOneself = krScoreExplainOneself;
		this.krScoreExplainSuperior = krScoreExplainSuperior;
	}

	@Id

	@Column(name = "SCORE_DETAIL_KR_UUID", unique = true, nullable = false, length = 32)
	public String getScoreDetailKrUuid() {
		return this.scoreDetailKrUuid;
	}

	public void setScoreDetailKrUuid(String scoreDetailKrUuid) {
		this.scoreDetailKrUuid = scoreDetailKrUuid;
	}

	@Column(name = "SCORE_DETAIL_O_UUID", length = 32)
	public String getScoreDetailOUuid() {
		return this.scoreDetailOUuid;
	}

	public void setScoreDetailOUuid(String scoreDetailOUuid) {
		this.scoreDetailOUuid = scoreDetailOUuid;
	}

	@Column(name = "O_SCORE_UUID", length = 32)
	public String getOScoreUuid() {
		return this.OScoreUuid;
	}

	public void setOScoreUuid(String OScoreUuid) {
		this.OScoreUuid = OScoreUuid;
	}

	@Column(name = "O_UNIQUE_ID_CODE", length = 20)
	public String getOUniqueIdCode() {
		return this.OUniqueIdCode;
	}

	public void setOUniqueIdCode(String OUniqueIdCode) {
		this.OUniqueIdCode = OUniqueIdCode;
	}

	@Column(name = "KR_UNIQUE_ID_CODE", length = 20)
	public String getKrUniqueIdCode() {
		return this.krUniqueIdCode;
	}

	public void setKrUniqueIdCode(String krUniqueIdCode) {
		this.krUniqueIdCode = krUniqueIdCode;
	}

	@Column(name = "KR_CODE", length = 2)
	public String getKrCode() {
		return this.krCode;
	}

	public void setKrCode(String krCode) {
		this.krCode = krCode;
	}

	@Column(name = "KR_DEFINITION", length = 256)
	public String getKrDefinition() {
		return this.krDefinition;
	}

	public void setKrDefinition(String krDefinition) {
		this.krDefinition = krDefinition;
	}

	@Column(name = "ACTION_PLAN", length = 512)
	public String getActionPlan() {
		return this.actionPlan;
	}

	public void setActionPlan(String actionPlan) {
		this.actionPlan = actionPlan;
	}

	@Column(name = "KR_SCORE_ONESELF", precision = 8, scale = 0)
	public Integer getKrScoreOneself() {
		return this.krScoreOneself;
	}

	public void setKrScoreOneself(Integer krScoreOneself) {
		this.krScoreOneself = krScoreOneself;
	}

	@Column(name = "KR_SCORE_SUPERIOR", precision = 8, scale = 0)
	public Integer getKrScoreSuperior() {
		return this.krScoreSuperior;
	}

	public void setKrScoreSuperior(Integer krScoreSuperior) {
		this.krScoreSuperior = krScoreSuperior;
	}

	@Column(name = "KR_SCORE_EXPLAIN_ONESELF", length = 1024)
	public String getKrScoreExplainOneself() {
		return this.krScoreExplainOneself;
	}

	public void setKrScoreExplainOneself(String krScoreExplainOneself) {
		this.krScoreExplainOneself = krScoreExplainOneself;
	}

	@Column(name = "KR_SCORE_EXPLAIN_SUPERIOR", length = 1024)
	public String getKrScoreExplainSuperior() {
		return this.krScoreExplainSuperior;
	}

	public void setKrScoreExplainSuperior(String krScoreExplainSuperior) {
		this.krScoreExplainSuperior = krScoreExplainSuperior;
	}

}
